<html>
<head>
<title>聊天记录</title>
<include file="SPGPub:header" />
</head>

<body>
	<header class="titlebar">
		<a href="{cms>:U('Spgclub/index')}">返回</a>
		<h1>聊天记录</h1>
	</header>
	
	<div class="chat_container">
		<div>
			<volist name="models" id="model">
			<div class="blackbox">
				<a class="nolink" href="{cms>:U('Spgclub/chatRecordDetail',array('toid'=>$model['id'],'page'=>1))}">
				<img src="{cms>$model.headimgurl}">
				<P>{cms>$model.nickname}</P>
				<P><if condition="$model['sex'] eq 1" >男<elseif condition="$model['sex'] eq 2" />女<else />保密</if></P>
				</a>
				<a href="{cms>:U('Spgclub/chatDel',array('toid'=>$model['id']))}" class="btn btnSmall">删除</a>
			</div>
			</volist>
		
		</div>
	</div>
	
	<include file="SPGPub:footer" />
	
</body>
</html>
